import React from "react";
import styled from "@emotion/styled";
import {Redirect, Route, Switch} from "react-router-dom";
import {CustomizeGroup} from "./group";
import {CustomizeService} from "./service";



export const Customize:React.FC = () => {
    return <Switch>
        <Route key="group" path="/customize/group" component={CustomizeGroup} />
        <Route key="service" path="/customize/service" component={CustomizeService} />
        <Redirect to={'/customize/group'} from={'/customize'} />
    </Switch>
}

const Container = styled.div`
  
`